package com.sooth.system.user.service;

import com.dream.system.config.Page;
import com.dream.template.service.IService;
import com.sooth.common.dream.model.PageModel;
import com.sooth.system.user.view.SysUserBo;
import com.sooth.system.user.view.SysUserDto;
import com.sooth.system.user.view.SysUserVo;

public interface ISysUserService extends IService<SysUserVo, SysUserBo> {

    SysUserVo queryUserByUserName(String userName, String tenantId);

    Integer updateLoginInfo(String userName, String ip);

    Page<SysUserVo> queryPage(SysUserDto user, PageModel pageModel);

    SysUserVo queryNickName(Long userId);
}
